package com.atmosphere.interfaces.component;

import com.atmosphere.interfaces.IComponent;

/**
 * <code>IClocktimeComponent</code> defines the interface of a
 * component unit that is updated based on the clock-time of a
 * set cycle length.
 *
 * @author Yi Wang (Neakor)
 * @version Creation date: 05-21-2009 19:40 EST
 * @version Modified date: 05-21-2009 19:41 EST
 */
public interface IClocktimeComponent extends IComponent {

	/**
	 * Set the length of one complete clock-time change cycle.
	 * @param length The <code>Float</code> length in seconds.
	 */
	public void setCycleLength(float length);
	
	/**
	 * Retrieve the length of one complete color change cycle.
	 * @return The <code>Float</code> length in seconds.
	 */
	public float getCycleLength();
}
